<template>
    <div>
        <h2>我是首页</h2>
        <p>home</p>
        <router-link to="/home/news">新闻</router-link>
        <router-view></router-view>
    </div>
</template>
<script>
export default {
    name: 'home',
    data () {
        return {
            message: '你好'
        }
    },
    created () {
        console.log('create');  
        document.title = '首页'
    }
}
</script>

<style>

</style>